import Vue from "vue";
import App from "./App.vue";
import router from "./router"; // 引入 router
import store from "./store"; // 引入 store
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// import './mock/mock'; // 引入 mock.js
// import './mock/mock_module1_yhr';
import "./assets/style/index.css";

// import "echarts";
// import ECharts from "vue-echarts";
// Vue.component("VueEcharts", ECharts);

import echarts from 'echarts';
Vue.prototype.$echarts = echarts;


// import './mock/mockmodule2ps';
// import './mock/okzmock';
Vue.config.productionTip = false;

Vue.use(ElementUI);


new Vue({
  router, // 注入 router
  store, // 注入 store
  render: (h) => h(App),
}).$mount("#app");
